package com.example.easy.Service.Impl;

import com.example.easy.Tools.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Test {
    @Autowired
    public RedisUtils redisUtils;

    public void set(String key,String value){
        redisUtils.set(key,value);
    }
    public  String get(String key){
     return (String) redisUtils.get(key);
    }

}
